repo: Create uncompressed-object-cache dir dynamically
authorColin Walters <walters@verbum.org>
Tue, 6 Feb 2018 15:13:46 +0000 (10:13 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 8 Feb 2018 21:27:11 +0000 (21:27 +0000)
commit88d27fb3f1bb4102fddc74e77276011f6ee365ec
tree85688d967bda5b45c3aa78ab5f256e50cd320540
parent2e95e0661616786a0f7fc53fd6ce4504c7aecbe0
repo: Create uncompressed-object-cache dir dynamically

Having the `uncompressed-object-cache` directory in `archive` repos by default
is clutter; the functionality should be considered deprecated.

Now we only create the directory if we're doing a checkout with the cache
enabled.

Closes: #1446
Approved by: jlebon
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo.c
tests/basic-test.sh